/* Lac Viet ERP                                                
 * Copyright (c) 2013 Lac Viet                                 
 * http://www.lacviet.com.vn                                   
 *=============================================================
 * File name            : SR_tblSubItems.cs         
 * Created by           : Auto - 01/14/2014 16:43:39                     
 * Last modify          : Auto - 01/14/2014 16:43:39                     
 * Version              : 1.0                                  
 * ============================================================
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace LineOfBusiness.Poco
{
	[Serializable]
	public partial class SR_tblSubItems : BaseEntity
	{
		public SR_tblSubItems()
		{
			this.Quantity = 0;
			this.NetWeight = 0;
		}

	    #region Properties

		private string _SubItemName;
        [MaxLength(200)]
        public string SubItemName 
		{ 
			get
			{
                return _SubItemName;
			}
			set 
			{ 
                _SubItemName = value;
			} 
		}

		private string _Notes;
        [MaxLength(200)]
        public string Notes 
		{ 
			get
			{
                return _Notes;
			}
			set 
			{ 
                _Notes = value;
			} 
		}

		private byte[] _Picture;
        [MaxLength(2147483647)]
        public byte[] Picture 
		{ 
			get
			{
                return _Picture;
			}
			set 
			{ 
                _Picture = value;
			} 
		}

		private decimal? _Quantity;
        public decimal? Quantity 
		{ 
			get
			{
                return _Quantity;
			}
			set 
			{ 
                _Quantity = value;
			} 
		}

		private decimal? _NetWeight;
        public decimal? NetWeight 
		{ 
			get
			{
                return _NetWeight;
			}
			set 
			{ 
                _NetWeight = value;
			} 
		}

		private string _SONo;
        [MaxLength(20)]
        public string SONo 
		{ 
			get
			{
                return _SONo;
			}
			set 
			{ 
                _SONo = value;
			} 
		}

		private Guid? _LineRecordID;
        public Guid? LineRecordID 
		{ 
			get
			{
                return _LineRecordID;
			}
			set 
			{ 
                _LineRecordID = value;
			} 
		}
		/// <summary>
        /// Column: SR_tblSalesOrders.SONo
        /// </summary>
		public SR_tblSalesOrders SR_tblSalesOrders { get;set; }


        #endregion
	}
}
